package com.weic.easycache.framework;

import com.weic.easycache.framework.biz.AbsBaseBiz;
import com.weic.easycache.framework.biz.IBiz;
import com.weic.easycache.framework.config.TaskConfig;

public class Request {
	/**是否将结果数据缓存到内存**/
	public final boolean cache;
	public final TaskConfig<?, ?, ?>[] tasks;
	public final Class<? extends IBiz<?, ?>> biz;
	
	/**@param cache 是否将结果数据缓存到内存**/
	public Request(boolean cache, TaskConfig<?, ?, ?>[] tasks, Class<? extends AbsBaseBiz<?, ?>> biz) {
		this.cache = cache;
		this.tasks = tasks;
		this.biz = biz;
	}
}
